﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WJP.Queue.Protocols.Brokers
{
    /// <summary>
    /// Broker的角色，目前有Master和Slave两种角色，默认为Master
    /// </summary>
    public enum BrokerRole
    {
        /// <summary>
        /// 主
        /// </summary>
        Master = 0,

        /// <summary>
        /// 备
        /// </summary>
        Slave = 1
    }
}
